// 操作明星数据表的模块
var mongoose = require('mongoose')
var Schema = mongoose.Schema  
var userSchema = new Schema({  
  username:String,
  password:String,
  avatar:String,
  gender:String,
  phone:String,
  roleId:String
})

var userModel = mongoose.model('user',userSchema) 

module.exports = userModel  